Optimal. Leaf size=57 \[ \frac{16 \tan (x)}{35 \sqrt{\sec ^2(x)}}+\frac{8 \tan (x)}{35 \sec ^2(x)^{3/2}}+\frac{6 \tan (x)}{35 \sec ^2(x)^{5/2}}+\frac{\tan (x)}{7 \sec ^2(x)^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0188078, antiderivative size = 57, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.375, Rules used = {4122, 192, 191} \[ \frac{16 \tan (x)}{35 \sqrt{\sec ^2(x)}}+\frac{8 \tan (x)}{35 \sec ^2(x)^{3/2}}+\frac{6 \tan (x)}{35 \sec ^2(x)^{5/2}}+\frac{\tan (x)}{7 \sec ^2(x)^{7/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4122
Rule 192
Rule 191
Rubi steps
\begin{align*} \int \frac{1}{\sec ^2(x)^{7/2}} \, dx &=\operatorname{Subst}\left (\int \frac{1}{\left (1+x^2\right )^{9/2}} \, dx,x,\tan (x)\right )\\ &=\frac{\tan (x)}{7 \sec ^2(x)^{7/2}}+\frac{6}{7} \operatorname{Subst}\left (\int \frac{1}{\left (1+x^2\right )^{7/2}} \, dx,x,\tan (x)\right )\\ &=\frac{\tan (x)}{7 \sec ^2(x)^{7/2}}+\frac{6 \tan (x)}{35 \sec ^2(x)^{5/2}}+\frac{24}{35} \operatorname{Subst}\left (\int \frac{1}{\left (1+x^2\right )^{5/2}} \, dx,x,\tan (x)\right )\\ &=\frac{\tan (x)}{7 \sec ^2(x)^{7/2}}+\frac{6 \tan (x)}{35 \sec ^2(x)^{5/2}}+\frac{8 \tan (x)}{35 \sec ^2(x)^{3/2}}+\frac{16}{35} \operatorname{Subst}\left (\int \frac{1}{\left (1+x^2\right )^{3/2}} \, dx,x,\tan (x)\right )\\ &=\frac{\tan (x)}{7 \sec ^2(x)^{7/2}}+\frac{6 \tan (x)}{35 \sec ^2(x)^{5/2}}+\frac{8 \tan (x)}{35 \sec ^2(x)^{3/2}}+\frac{16 \tan (x)}{35 \sqrt{\sec ^2(x)}}\\ \end{align*}
Mathematica [A] time = 0.0376147, size = 37, normalized size = 0.65 \[ \frac{(1225 \sin (x)+245 \sin (3 x)+49 \sin (5 x)+5 \sin (7 x)) \sec (x)}{2240 \sqrt{\sec ^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.088, size = 35, normalized size = 0.6 \begin{align*}{\frac{\sin \left ( x \right ) \left ( 5\, \left ( \cos \left ( x \right ) \right ) ^{6}+6\, \left ( \cos \left ( x \right ) \right ) ^{4}+8\, \left ( \cos \left ( x \right ) \right ) ^{2}+16 \right ) }{35\, \left ( \cos \left ( x \right ) \right ) ^{7}} \left ( \left ( \cos \left ( x \right ) \right ) ^{-2} \right ) ^{-{\frac{7}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.06939, size = 66, normalized size = 1.16 \begin{align*} \frac{16 \, \tan \left (x\right )}{35 \, \sqrt{\tan \left (x\right )^{2} + 1}} + \frac{8 \, \tan \left (x\right )}{35 \,{\left (\tan \left (x\right )^{2} + 1\right )}^{\frac{3}{2}}} + \frac{6 \, \tan \left (x\right )}{35 \,{\left (\tan \left (x\right )^{2} + 1\right )}^{\frac{5}{2}}} + \frac{\tan \left (x\right )}{7 \,{\left (\tan \left (x\right )^{2} + 1\right )}^{\frac{7}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.4212, size = 78, normalized size = 1.37 \begin{align*} -\frac{1}{35} \,{\left (5 \, \cos \left (x\right )^{6} + 6 \, \cos \left (x\right )^{4} + 8 \, \cos \left (x\right )^{2} + 16\right )} \sin \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.4046, size = 46, normalized size = 0.81 \begin{align*} -\frac{1}{7} \, \mathrm{sgn}\left (\cos \left (x\right )\right ) \sin \left (x\right )^{7} + \frac{3}{5} \, \mathrm{sgn}\left (\cos \left (x\right )\right ) \sin \left (x\right )^{5} - \mathrm{sgn}\left (\cos \left (x\right )\right ) \sin \left (x\right )^{3} + \mathrm{sgn}\left (\cos \left (x\right )\right ) \sin \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]